﻿var HTMLPageCount;
var Context = "";
function PercentChange(pageNo, note)
{
    if (pageNo > 0)
    { 
        $("#progressbar").progressbar({
            value: pageNo / HTMLPageCount * 100
        });
    }

    if (note != "")
    {

        if (note.indexOf("可疑文件") > -1)
        {
            note = "<span style=\"color:#F00\">" + note + "</span>";
        }
        Context = note + Context;

        document.getElementById("Note").innerHTML = Context;
    }
}